package xupt.se.ttms.idao;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import xupt.se.ttms.model.Seat;

public interface iSeatDAO {
	public boolean execInsert(Seat seat) throws Exception;
	public boolean execUpdate(Seat seat) throws Exception;
	public List<Seat> HandleSeatResultSet(ResultSet rs) throws SQLException;
	
	public ResultSet execQuery(int i)throws Exception ;
	public ResultSet exexQueryAll()throws Exception;
	//主键是int类型，通过主键删除
	public boolean execDelete(int i) throws Exception ;

	public ResultSet execStudio_id(int studio_id) throws Exception;
	public ResultSet execQuery(String state)throws Exception ;
	
	public boolean execInit(int studio_id) throws Exception ;

	public boolean execDeleteAll() throws Exception ;
	ResultSet execQuery(int studio_id, int row, int col) throws Exception;
}
